﻿using CQIE.JonJack.Models.Tabels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CQIE.JonJack.SplLibraryService._IPublicService
{
    /// <summary>
    /// 公共接口访问入口
    /// </summary>
    public interface IPublicService
    {
        
        /// <summary>
        /// 获取所有图书馆藏，无需登录
        /// </summary>
        /// <returns>所有图书</returns>
        public string getAllBooksAsync();

        /// <summary>
        /// 登录
        /// </summary>
        /// <returns>所有图书</returns>
        public string login(string schoolNumber, string passWord);
        /// <summary>
        /// 用户注册
        /// </summary>
        /// <returns></returns>
        public bool userRegister(string user);
    }
}
